package com.paddyi.feignService.FallBack;

import com.paddyi.feignService.DocumentService;
import com.paddyi.model.Document;

/**
 * @program: paddyi
 * @description: DocumentService的降级服务
 * @author: paddy
 * @create: 2019-08-05 10:06
 **/
public class DocumentFallBack implements DocumentService {
    @Override
    public String add(Document document) {
        return "ERROR";
    }

    @Override
    public String edit(Document document) {
        return "ERROR";
    }

    @Override
    public String findAll() {
        return "ERROR";
    }

    @Override
    public String findById(Long ID) {
        return "ERROR";
    }
}
